package cn.lanchengkeji.datafillingsystem.common;

public class Const {

    public static final  int DELETE_ENUM_TRUE_FLAG = 1;
    public static final  int DELETE_ENUM_FALSE_FLAG = 0;

    public static final int USER_INFO_INCOMEPLETE_1 = 1; //用户未补全信息

    public static final int USER_NOT_CHECK_2 = 2; //用户未审核

    public static final int USER_CHECK_PASS_3 = 3; //用户已审核通过

    public static final int USER_CHECK_NOT_PASS_4 = 4; //用户审核未通过

    public static final int PRIVILEGE_TYPE_MENU = 1; //菜单

    public static final int PRIVILEGE_TYPE_OPERATION = 2;//操作

    public static final int DEL_FLAG_NO = 0;//未删除

    public static final int DEL_FLAG_YES = 1;//已删除

    public static final int IS_CHECK_NO = 1;//未审核

    public static final int IS_CHECK_YES = 0;//已审核

    public static final int IS_RELEASE_NO = 1;//未发布

    public static final int IS_RELEASE_YES = 0;//已发布

    public static final int IS_START_NO = 1;//未启动

    public static final int IS_START_YES = 0;//已启动

    public static final String excel2003L = ".xls"; //2003- 版本的excel

    public static final String excel2007U = ".xlsx"; //2007+ 版本的excel

    public static final String AUTHORIZATION = "Authorization";//token key

    public static final String ES_DATA_INDEX = "idx_business_data";//Excel导入Es索引库,重新创建库需清除mysql标题表. ik_smart分词,空格手动分词.

    public static final String ES_YQ_DATA_INDEX = "idx_yuqing_data"; //舆情数据导入Es索引库. ik_smart分词,空格手动分词.

    public static final String ES_DATA_SEARCH = "_search";

    public static final String ES_DATA_ANALYZE = "_analyze";//分词关键字

    public static final String ES_DATA_MAPPING = "_mapping";//设置

    public static final String ES_DATA_DELETE_BY_QUERY = "_delete_by_query?conflicts=proceed";//强制删除

    public static final String ES_DATA_MERGE = "_forcemerge?only_expunge_deletes=true&max_num_segments=1";//释放磁盘空间

    public static final int TYPE_SY = 1;

    public static final int TYPE_CZ = 2;

    public static final int TYPE_TY = 3;


    /**
     * 北京服务器常量
     */

    public static final String ES_URL = "http://111.203.20.33:8001/";

    public static final String QLIK_PIC_PATH = "/data/yixu/domains/image/";

    public static final String FILE_REAL_PATH = "/data/yixu/domains/uploadFile";

    public static final String ACCESSORY_PIC_PATH = "/data/yixu/domains/accessory/";

    public static final String DOMAIN_NAME_IMG = "http://caas-tx.lanchengkeji.cn/image/";

    public static final String NGINX_HTTP_BASC_TOKEN = "Basic Y2Fhc19lczpOS1lAY2Fhcy5uZXQ=";//nginx-http认证

    // 附件地址
    public static final String UPLOAD_FILE_PATH_LIN_POINCARE = "/data/webuser/train_upload/poincare";
    public static final String UPLOAD_FILE_PATH_LIN_POINCARE_FILE = "/data/webuser/train_upload/poincare/output_file";
    public static final String UPLOAD_FILE_PATH_WIN_POINCARE = "D:/train/upload/poincare";
    // 附件地址
    public static final String UPLOAD_FILE_PATH_LIN_RESULTS = "/data/webuser/train_upload/results";
    public static final String UPLOAD_FILE_PATH_LIN_POONCARE = "/data/webuser/train_upload/poincare/output_file";
    public static final String UPLOAD_FILE_PATH_WIN_RESULTS = "D:/train/upload/results";

    // 附件地址
    public static final String UPLOAD_FILE_PATH_LIN = "/data/webuser/train_upload";
    public static final String UPLOAD_FILE_PATH_WIN = "D:/train/upload";
    public static final String UPLOAD_FILE_PATH_WIN_KJWX = "/data/webuser/kjwx_uplode";

}
